/* 清空内外边距 */
* {
	margin: 0;
	padding: 0;
}

/* 版心区域水平居中 */
.w {
	width: 1200px;
	margin: auto;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}

body {
	background-color: #f3f5f7;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
}

.header {
	height: 42px;
	margin: 30px auto;
}

.logo {
	float: left;
	height: 42px;
	width: 200px;
}

.nav-bar {
	float: left;
	margin-left: 40px;
}

.nav-bar ul li {
	float: left;
	margin: 0 15px;
}

.nav-bar ul li a {
	display: block;
	height: 40px;
	padding: 0 10px;
	line-height: 42px;
	font-size: 18px;
	color: #050505;
}

.nav-bar ul li a:hover {
	border-bottom: 2px solid #00a4ff;
	color: #00a4ff;
}

.search {
	float: left;
	height: 42px;
	width: 412px;
	margin-left: 50px;
}

.search input {
	float: left;
	height: 40px;
	width: 345px;
	border: 1px solid #00a4ff;
	border-right: 0;
	color: #bfbfbf;
	font-style: 14px;
	padding-left: 15px;
}

.search button {
	float: left;
	height: 42px;
	width: 50px;
	border: 0;
	background: url(./img/btn.png);
}

.user {
	float: right;
	line-height: 42px;
	margin-right: 30px;
	font-style: 14px;
	color: #666;
}

.user img {
	vertical-align: middle;
}

/* banner部分 */
.banner {
	height: 421px;
	background-color: #1c036c;
}

.banner .w {
	height: 421px;
	background: url(./img/banner2_20190819_210028.png) no-repeat top center;
	background-color: #1C036C;
}

.subnav {
	float: left;
	height: 421px;
	width: 190px;
	background: rgba(0,0,0,.3);
}

.subnav li {
	height: 45px;
	line-height: 45px;
	padding: 0 20px;
}

.subnav ul li a {
	font-size: 14px;
	color: #fff;
}

.subnav ul li a span{
	float: right;
}

.subnav ul li a:hover {
	color: #00A4FF;
}

.course {
	float: right;
	width: 230px;
	height: 300px;
	background-color: #fff;
	margin-top:50px ;
}

.course h2 {
	height: 48px;
	background-color: #9bceea;
	font-size: 18px;
	text-align: center;
	line-height: 48px;
	color: #fff;
}

.bd {
	padding: 0 20px;
}

.bd li {
	padding: 14px 0;
	border-bottom: 1px solid #ccc;
}

.bd ul li h4 {
	font-size: 16px;
	color: #4e4e4e;
}

.bd ul li p {
	font-size: 12px;
	color: #a5a5a5;
}

.bd .more {
	display: block;
	margin-top: 5px;
	height: 38px;
	border: 1px solid #00a4ff;
	text-align: center;
	line-height: 38px;
	color: #00a4ff;
	font-size: 16px;
	font-weight: 700;
}

/* 精品推荐模块 */
.goods {
	height: 60px;
	background-color: #fff;
	margin-top: 10px;
	box-shadow: 0 2px 3px rgba(0,0,0,.1);
	line-height: 60px;
}

.goods h3 {
	float: left;
	margin-left: 30px;
	font-size: 16px;
	color: #00A4FF;
}

.goods ul {
	float: left;
	margin-left: 30px;
}

.goods ul li {
	float: left;
}

.goods ul li a {
	padding: 0 30px;
	font-size: 16px;
	color: #050505;
	border-left: 1px solid #ccc;
}

.goods .mod {
	float: right;
	margin-right: 30px;
	font-size: 14px;
	color: #00A4FF;
}

/* box核心内容区域-精品推荐 */
.box {
	margin-top: 35px;
}

.box-hd {
	height: 42px;
	line-height: 42px;
}

.box-hd h3 {
	float: left;
	font-size: 20px;
	font-weight: 400;
	color: #494949;
}

.theme-nav-right {
	float: right;
	font-size: 12px;
	color: #a5a5a5;
	margin-right: 32px;
}

.box-bd ul {
	width: 1225px;
}

.box-bd ul li {
	position: relative;
	float: left;
	width: 229px;
	height: 271px;
	background-color: #fff;
	margin-right: 15px;
	margin-bottom: 15px;
}

.box-bd div img {
	position: absolute;
	top: 4px;
	right: -4px;
}

.box-bd ul li > img {
	height: 156px;
	width: 100%;
}

.box-bd ul li h4 {
	margin: 20px 20px 20px 24px;
	font-size: 14px;
	color: #050505;
	font-weight: 400;
}

.box-bd .info {
	margin: 0 20px 0 24px;
	font-size: 12px;
	color: #999;
}

.box-bd .info span{
	color: #ff7c2d;
}

/* 底部模块区域 */
.footer {
	height: 415px;
	background-color: #fff;	
}	

.footer .w {
	padding: 35px;
}

.copyright {
	float: left;
}

.copyright p {
	font-size: 12px;
	color: #666;
	margin: 20px 0 15px;
}

.copyright .app {
	display: block;
	width: 118px;
	height: 33px;
	border: 1px solid #00a4ff;
	text-align: center;
	line-height: 33px;
	color: #00A4FF;
	font-size: 16px;
}

.links {
	float: right;
}

.links dl{
	float: left;
	margin-left: 100px;
}

.links dl dt {
	font-size: 16px;
	color: #333;
	margin-bottom: 5px;
}

.links dl dd a {
	color: #333;
	font-size: 12px;
}

/*box核心内容区域-编程入门  */
.theme {
	margin-top: 35px;
}

.theme-nav {
	height: 42px;
	line-height: 42px;
}

.theme-nav-left {
	float: left;
	
	font-weight: 400;
	font-size: 20px;
	color: #494949;
}

.theme-nav-center {
	float: left;
	
	margin-left: 200px;
}

.theme-nav-center li {
	float: left;
	
	margin-right: 70px;
}

.theme-nav-center li a {
	color: #868686;
}

.theme-nav-center .first {
	color: #00A4FF;
}

.theme-body-left {
	float: left;
	width: 229px;
	height: 393px;
}

.theme-body-right {
	float: right;
	width: 957px;
}

.theme-body-right-t {
	float: right;
}

/* 封装小item 通用格式 */
.item {
	float: right;
	width: 957px;
	background-color: #fff;
	margin-top: 21px;
}

.item li {
	float: right;
	
	width: 229px;
	height: 271px;
	margin-right: 13px;
}

.item .item-first{
	margin-right: 2px;
}

.item li img{
	height: 156px;
	width: 100%;
}

.item li h4 {
	margin: 20px 20px 20px 24px;
	font-size: 14px;
	color: #050505;
	font-weight: 400;
}

.item .info {
	font-size: 12px;
	margin: 0 20px 0 24px;
	color: #999;
}

.item .info span{
	color: #ff7c2d;
}
/* 封装小item 通用格式 */